home *** CD-ROM | disk | FTP | other *** search
/ MIDICraft's MIDINET CD-ROM / MIDICraft's MIDINET CD-ROM.iso / DOCS / MIDI-INT.TXT < prev    next >
Encoding:
Text File  |  1996-09-18  |  26.2 KB  |  599 lines

  1.  
  2.  
  3.  
  4.                        The USENET MIDI Primer
  5.                             Bob McQueer
  6.  
  7. PURPOSE
  8.  
  9. It seems as though many people in the USENET community have an interest
  10. in the Musical Instrument Digital Interface (MIDI), but for one reason
  11. or another have only obtained word of mouth or fragmentary descriptions
  12. of the specification.  Basic questions such as "what's the baud rate?",
  13. "is it EIA?" and the like seem to keep surfacing in about half a dozen
  14. newsgroups.  This article is an attempt to provide the basic data to
  15. the readers of the net.
  16.  
  17. REFERENCE
  18.  
  19. The major written reference for this article is version 1.0 of the MIDI
  20. specification, published by the International MIDI Association, copyright
  21. 1983.  There exists an expanded document.  This document, which I have not
  22. seen, is simply an expansion of the 1.0 spec. to contain more explanatory
  23. material, and fill in some areas of hazy explanation.  There are no
  24. radical departures from 1.0 in it.  I have also heard of a "2.0" spec.,
  25. but the IMA claims no such animal exists.  In any event, backwards
  26. compatibility with the information I am presenting here should be
  27. maintained.
  28.  
  29. CONVENTIONS
  30.  
  31. I will give constants in C syntax, ie. 0x for hexadecimal.  If I
  32. refer to bits by number, I number them starting with 0 for the low
  33. order (1's place) bit.  The following notation:
  34.  
  35. >>
  36.  
  37. text
  38.  
  39. <<
  40.  
  41. will be used to delimit commentary which is not part of the "bare-
  42. bones" specification.  A sentence or paragraph marked with a question
  43. mark in column 1 is a point I would kind of like to hear something
  44. about myself.
  45.  
  46. OK, let's give it a shot.
  47.  
  48. PHYSICAL CONNECTOR SPECIFICATION
  49.  
  50. The standard connectors used for MIDI are 5 pin DIN.  Separate sockets
  51. are used for input and output, clearly marked on a given device.  The
  52. spec. gives 50 feet as the maximum cable length.  Cables are to be
  53. shielded twisted pair, with the shield connecting pin 2 at both ends.
  54. The pair is pins 4 and 5, pins 1 and 3 being unconnected:
  55.  
  56.                               2
  57.                           5       4
  58.                         3           1
  59.  
  60. A device may also be equipped with a "MIDI-THRU" socket which is used
  61. to pass the input of one device directly to output.
  62.  
  63. >>
  64.     I think this arrangement shows some of the original conception
  65.     of MIDI more as a way of allowing keyboardists to control
  66.     multiple boxes than an instrument to computer interface.  The
  67.     "daisy-chain" arrangement probably has advantages for a performing
  68.     musician who wants to play "stacked" synthesizers for a desired
  69.     sound, and has to be able to set things up on the road.
  70. <<
  71.  
  72. ELECTRICAL SPECIFICATION
  73.  
  74. Asynchronous serial interface.  The baud rate is 31.25 Kbaud (+/- 1%).
  75. There are 8 data bits, with 1 start bit and 1 stop bit, for 320
  76. microseconds per serial byte.
  77.  
  78. MIDI is current loop, 5 mA.  Logic 0 is current ON.  The specification
  79. states that input is to be opto-isolated, and points out that Sharp
  80. PC-900 and HP 6N138 optoisolators are satisfactory devices.  Rise and
  81. fall time for the optoisolator should be less than 2 microseconds.
  82.  
  83. The specification shows a little circuit diagram for the connections
  84. to a UART.  I am not going to reproduce it here.  There's not much
  85. to it - I think the important thing it shows is +5 volt connection
  86. to pin 4 of the MIDI out with pin 5 going to the UART, through 220
  87. ohm load resistors.  It also shows that you're supposed to connect
  88. to the "in" side of the UART through an optoisolator, and to the
  89. MIDI-THRU on the UART side of the isolator.
  90.  
  91. >>
  92.     I'm not much of a hardware person, and don't really know what
  93.     I'm talking about in paragraphs like the three above.  I DO
  94.     recognize that this is a "non-standard" specification, which
  95.     won't work over serial ports intended for anything else.  People
  96.     who do know about such things seem to either have giggling
  97.     or gagging fits when they see it, depending on their dispos-
  98.     itions, saying things like "I haven't seen current loop since
  99.     the days of the old teletypes".  I also know the fast 31.25
  100.     Kbaud pushes the edge for clocking commonly available UART's.
  101. <<
  102.  
  103. DATA FORMAT
  104.  
  105. For standard MIDI messages, there is a clear concept that one device
  106. is a "transmitter" or "master", and the other a "receiver" or "slave".
  107. Messages take the form of opcode bytes, followed by data bytes.
  108. Opcode bytes are commonly called "status" bytes, so we shall use
  109. this term.
  110.  
  111. >>
  112.     very similar to handling a terminal via escape sequences.  There
  113.     aren't ACK's or other handshaking mechanisms in the protocol.
  114. <<
  115.  
  116. Status bytes are marked by bit 7 being 1.  All data bytes must
  117. contain a 0 in bit 7, and thus lie in the range 0 - 127.
  118.  
  119. MIDI has a logical channel concept.  There are 16 logical channels,
  120. encoded into bits 0 - 3 of the status bytes of messages for
  121. which a channel number is significant.  Since bit 7 is taken over
  122. for marking the status byte, this leaves 3 opcode bits for message
  123. types with a logical channel.  7 of the possible 8 opcodes are
  124. used in this fashion,  reserving the status bytes containing all
  125. 1's in the high nibble for "system" messages which don't have a
  126. channel number.  The low order nibble in these remaining messages
  127. is really further opcode.
  128.  
  129. >>
  130.     If you are interested in receiving MIDI input, look over the
  131.     SYSTEM messages even if you wish to ignore them.  Especially the
  132.     "system exclusive" and "real time" messages.  The real time
  133.     messages may be legally inserted in the middle of other data,
  134.     and you should be aware of them, even though many devices won't
  135.     use them.
  136. <<
  137.  
  138. VOICE MESSAGES
  139.  
  140. I will cover the message with channel numbers first.  The opcode determines
  141. the number of data bytes for a single message (see "running status byte",
  142. below).  The specification divides these into "voice" and "mode" messages.
  143. The "mode" messages are for control of the logical channels, and the control
  144. opcodes are piggybacked onto the data bytes for the "parameter" message. 
  145. I will go into this after describing the "voice messages".  These messages are:
  146.  
  147. status byte   meaning        data bytes
  148.  
  149. 0x80-0x8f     note off       2 - 1 byte pitch, followed by 1 byte velocity
  150. 0x90-0x9f     note on        2 - 1 byte pitch, followed by 1 byte velocity
  151. 0xa0-0xaf     key pressure   2 - 1 byte pitch, 1 byte pressure (after-touch)
  152. 0xb0-0xbf     parameter      2 - 1 byte parameter number, 1 byte setting
  153. 0xc0-0xcf     program        1 byte program selected
  154. 0xd0-0xdf     chan. pressure 1 byte channel pressure (after-touch)
  155. 0xe0-0xef     pitch wheel    2 bytes gives a 14 bit value, least significant 
  156.                    7 bits first
  157.  
  158. Many explanations are necessary here:
  159.  
  160. For all of these messages, a convention called the "running status
  161. byte" may be used.  If the transmitter wishes to send another message
  162. of the same type on the same channel, thus the same status byte, the
  163. status byte need not be resent.
  164.  
  165. Also, a "note on" message with a velocity of zero is to be synonymous
  166. with a "note off".  Combined with the previous feature, this is intended
  167. to allow long strings of notes to be sent without repeating status bytes.
  168.  
  169. >>
  170.     From what I've seen, the "zero velocity note on" feature is very
  171.     heavily used.  My six-trak sends these, even though it sends
  172.     status bytes on every note anyway.  Roland stuff uses it.
  173. <<
  174.  
  175. The pitch bytes of notes are simply number of half-steps, with middle C = 60.
  176.  
  177. >>
  178.     On keyboard synthesizers, this usually simply means which
  179.     physical key corresponds, since the patch selection will
  180.     change the actual pitch range of the keyboard.  Most keyboards
  181.     have one C key which is unmistakably in the middle of the
  182.     keyboard.  This is probably note 60.
  183. <<
  184.  
  185. The velocity bytes for velocity sensing keyboards are supposed
  186. to represent a logarithmic scale.  "advisable" in the words
  187. of the spec.  Non-velocity sensing devices are supposed to
  188. send velocity 64.
  189.  
  190. The pitch wheel value is an absolute setting, 0 - 0x3FFF.  The
  191. 1.0 spec. says that the increment is determined by the receiver.
  192. 0x2000 is to correspond to a centered pitch wheel (unmodified notes)
  193.  
  194. >>
  195.     I believe standard scale steps are one of the things discussed
  196.     in expansions.  The six-trak pitch wheel is up/down about a third.
  197.     I believe several makers have used this value, but I may be wrong.
  198.  
  199.     The "pressure" messages are for keyboards which sense the amount
  200.     of pressure placed on an already depressed key, as opposed to
  201.     velocity, which is how fast it is depressed or released.
  202.  
  203. ?    I'm not really certain of how "channel" pressure works.  Yamaha
  204.     is one maker that uses these messages, I know.
  205. <<
  206.  
  207. Now, about those parameter messages.
  208.  
  209. Instruments are so fundamentally different in the various controls
  210. they have that no attempt was made to define a standard set, like
  211. say 9 for "Filter Resonance".  Instead, it was simply assumed that
  212. these messages allow you to set "controller" dials, whose purposes
  213. are left to the given device, except as noted below.  The first data
  214. bytes correspond to these "controllers" as follows:
  215.  
  216. data byte
  217.  
  218. 0 - 31       continuous controllers 0 - 31, most significant byte
  219. 32 - 63      continuous controllers 0 - 31, least significant byte
  220. 64 - 95      on / off switches
  221. 96 - 121     unspecified, reserved for future.
  222. 122 - 127    the "channel mode" messages I alluded to above.  See below.
  223.  
  224. The second data byte contains the seven bit setting for the controller.
  225. The switches have data byte 0 = OFF, 127 = ON with 1 - 126 undefined.
  226. If a controller only needs seven bits of resolution, it is supposed to
  227. use the most significant byte.  If both are needed, the order is
  228. specified as most significant followed by least significant.  With a
  229. 14 bit controller, it is to be legal to send only the least significant
  230. byte if the most significant doesn't need to be changed.
  231.  
  232. >>
  233.     This may of, course, wind up stretched a bit by a given manufacturer.
  234.     The Six-Trak, for instance, uses only single byte values (LEFT
  235.     justified within the 7 bits at that), and recognizes >32 parameters
  236. <<
  237.  
  238. Controller number 1 IS standardized to be the modulation wheel.
  239.  
  240. ?    Are there any other standardizations which are being followed by most
  241.     manufacturers?
  242.  
  243. MODE MESSAGES
  244.  
  245. These are messages with status bytes 0xb0 through 0xbf, and leading data
  246. bytes 122 - 127.  In reality, these data bytes function as further
  247. opcode data for a group of messages which control the combination of
  248. voices and channels to be accepted by a receiver.
  249.  
  250. An important point is that there is an implicit "basic" channel over which
  251. a given device is to receive these messages.  The receiver is to ignore
  252. mode messages over any other channels, no matter what mode it might be in.
  253. The basic channel for a given device may be fixed or set in some manner
  254. outside the scope of the MIDI standard.
  255.  
  256. The meaning of the values 122 through 127 is as follows:
  257.  
  258. data byte                   second data byte
  259. 122       local control     0 = local control off, 127 = on
  260. 123       all notes off     0
  261. 124       omni mode off     0
  262. 125       omni mode on      0
  263. 126       monophonic mode   number of monophonic channels, or 0
  264.                             for a number equal to receivers voices
  265. 127       polyphonic mode   0
  266.  
  267. 124 - 127 also turn all notes off.
  268.  
  269. Local control refers to whether or not notes played on an instruments
  270. keyboard play on the instrument or not.  With local control off, the
  271. host is still supposed to be able to read input data if desired, as
  272. well as sending notes to the instrument.  Very much like "local echo"
  273. on a terminal, or "half duplex" vs. "full duplex".
  274.  
  275. The mode setting messages control what channels / how many voices the
  276. receiver recognizes.  The "basic channel" must be kept in mind. "Omni"
  277. refers to the ability to receive voice messages on all channels.  "Mono"
  278. and "Poly" refer to whether multiple voices are allowed.  The rub is
  279. that the omni on/off state and the mono/poly state interact with each
  280. other.  We will go over each of the four possible settings, called "modes"
  281. and given numbers in the specification:
  282.  
  283. mode 1 - Omni on / Poly - voice messages received on all channels and
  284.          assigned polyphonically.  Basically, any notes it gets, it
  285.      plays, up to the number of voices it's capable of.
  286.  
  287. mode 2 - Omni on / Mono - monophonic instrument which will receive
  288.          notes to play in one voice on all channels.
  289.  
  290. mode 3 - Omni off / Poly - polyphonic instrument which will receive
  291.          voice messages on only the basic channel.
  292.  
  293. mode 4 - Omni off / Mono - A useful mode, but "mono" is a misnomer.
  294.          To operate in this mode a receiver is supposed to receive
  295.      one voice per channel.  The number channels recognized will be
  296.       given by the second data byte, or the maximum number of possible
  297.      voices if this byte is zero.  The set of channels thus defined
  298.      is a sequential set, starting with the basic channel.
  299.  
  300. The spec. states that a receiver may ignore any mode that it cannot
  301. honor, or switch to an alternate - "usually" mode 1.  Receivers are
  302. supposed to default to mode 1 on power up.  It is also stated that
  303. power up conditions are supposed to place a receiver in a state where
  304. it will only respond to note on / note off messages, requiring a
  305. setting of some sort to enable the other message types.
  306.  
  307. >>
  308.     I think this shows the desire to "daisy-chain" devices for
  309.     performance from a single master again.  We can set a series
  310.     of instruments to different basic channels, tie 'em together,
  311.     and let them pass through the stuff they're not supposed to
  312.     play to someone down the line.
  313.  
  314.     This suffers greatly from lack of acknowledgement concerning
  315.     modes and usable channels by a receiver.  You basically have
  316.     to know your device, what it can do, and what channels it can
  317.     do it on.
  318.  
  319.     I think most makers have used the "system exclusive" message
  320.     (see below) to handle channels in a more sophisticated manner,
  321.     as well as changing "basic channel" and enabling receipt of
  322.     different message types under host control rather than by
  323.     adjustment on the device alone.
  324.  
  325.     The "parameters" may also be usurped by a manufacturer for
  326.     mode control, since their purposes are undefined.
  327.  
  328.     Another HUGE problem with the "daisy-chain" mental set of MIDI
  329.     is that most devices ALWAYS shovel whatever they play to their
  330.     MIDI outs, whether they got it from the keyboard or MIDI in.
  331.     This means that you have to cope with the instrument echoing
  332.     input back at you if you're trying to do an interactive session
  333.     with the synthesizer.  There is DRASTIC need for some MIDI flag
  334.     which specifically means that only locally generated data is to
  335.     go to MIDI out.  From device to device there are ways of coping
  336.     with this, none of them good.
  337. <<
  338.  
  339. SYSTEM MESSAGES
  340.  
  341. The status bytes 0x80 - 0x8f do not have channel numbers in the
  342. lower nibble.  These bytes are used as follows:
  343.  
  344. byte    purpose              data bytes
  345.  
  346. 0xf0    system exclusive     variable length
  347. 0xf1    undefined
  348. 0xf2    song position        2 - 14 bit value, least significant byte first
  349. 0xf3    song select          1 - song number
  350. 0xf4    undefined
  351. 0xf5    undefined
  352. 0xf6    tune request         0
  353. 0xf7    EOX (terminator)     0
  354.  
  355. The status bytes 0xf8 - 0xff are the so-called "real-time" messages.
  356. I will discuss these after the accumulated notes concerning the
  357. first bunch.
  358.  
  359. Song position / song select are for control of sequencers.  The
  360. song position is in beats, which are to be interpreted as every
  361. 6 MIDI clock pulses.  These messages determine what is to be played
  362. upon receipt of a "start" real-time message (see below).
  363.  
  364. The "tune request" is a command to analog synthesizers to tune their
  365. oscillators.
  366.  
  367. The system exclusive message is intended for manufacturers to use
  368. to insert any specific messages they want to which apply to their
  369. own product.  The following data bytes are all to be "data" bytes,
  370. that is they are all to be in the range 0 - 127.  The system exclusive
  371. is to be terminated by the 0xf7 terminator byte.  The first data byte
  372. is also supposed to be a "manufacturer's id", assigned by a MIDI
  373. standards committee.  THE TERMINATOR BYTE IS OPTIONAL - a system
  374. exclusive may also be "terminated" by the status byte of the next
  375. message.
  376.  
  377. >>
  378.     Yamaha, in particular, caused problems by not sending terminator
  379.     bytes.  As I understand it, the DX-7 sends a system exclusive
  380.     at something like 80 msec. intervals when it has nothing better
  381.     to do, just so you know it's still there, I guess.  The messages
  382.     aren't explicitly terminated, so if you want to handle the
  383.     protocol (esp. in hardware), you should be aware that a DX-7
  384.     will leave you in "waiting for EOX" state a lot, and be sending
  385.     data even when it isn't doing anything.  This is all word of
  386.     mouth, since I've never personally played with a DX-7.
  387. <<
  388.  
  389. some MIDI ID's:
  390.  
  391.     Sequential Circuits   1      Bon Tempi     0x20     Kawai     0x40
  392.     Big Briar             2      S.I.E.L.      0x21     Roland    0x41
  393.     Octave / Plateau      3                             Korg      0x42
  394.     Moog                  4      SyntheAxe     0x23     Yamaha    0x43
  395.     Passport Designs      5
  396.     Lexicon               6
  397.         PAIA                  0x11
  398.     Simmons               0x12
  399.         Gentle Electric       0x13
  400.         Fairlight             0x14
  401.  
  402. >>
  403.     Note the USA / Europe / Japan grouping of codes.  Also note
  404.     that Sequential Circuits snarfed id number 1 - Sequential
  405.     Circuits was one of the earliest participators in MIDI, some
  406.     people claim its originator.
  407.  
  408.     Two large makers missing from the original lineup were Casio
  409.     and Oberheim.  I know Oberheim is on the bandwagon now, and
  410.     Casio also, I believe.  Oberheim had their own protocol previous
  411.     to MIDI, and when MIDI first came out they were reluctant to
  412. ?    go along with it.  I wonder what we'd be looking at if Oberheim
  413.     had pushed their ideas and made them the standard.  From what I
  414.     understand they thought THEIRS was better, and kind of sulked
  415.     for a while until the market forced them to go MIDI.
  416.  
  417. ?    Nobody seems to care much about these ID numbers.  I can only
  418.     imagine them becoming useful if additions to the standard message
  419.     set are placed into system exclusives, with the ID byte to let
  420.     you know what added protocol is being used.  Are any groups of
  421.     manufacturers considering consolidating their efforts in a
  422.     standard extension set via system exclusives?
  423. <<
  424.  
  425. REAL TIME MESSAGES.
  426.  
  427. This is the final group of status bytes, 0xf8 - 0xff.  These bytes
  428. are reserved for messages which are called "real-time" messages
  429. because they are allowed to be sent ANYPLACE.  This includes in
  430. between data bytes of other messages.  A receiver is supposed to
  431. be able to receive and process (or ignore) these messages and
  432. resume collection of the remaining data bytes for the message
  433. which was in progress.  Realtime messages do not affect the
  434. "running status byte" which might be in effect.
  435.  
  436. ?    Do any devices REALLY insert these things in the middle of
  437.     other messages?
  438.  
  439. All of these messages have no data bytes following (or they could
  440. get interrupted themselves, obviously).  The messages:
  441.  
  442. 0xf8   timing clock
  443. 0xf9   undefined
  444. 0xfa   start
  445. 0xfb   continue
  446. 0xfc   stop
  447. 0xfd   undefined
  448. 0xfe   active sensing
  449. 0xff   system reset
  450.  
  451. The timing clock message is to be sent at the rate of 24 clocks
  452. per quarter note, and is used to sync. devices, especially drum
  453. machines.
  454.  
  455. Start / continue / stop are for control of sequencers and drum
  456. machines.  The continue message causes a device to pick up at the
  457. next clock mark.
  458.  
  459. >>
  460.     These things are also designed for performance, allowing control
  461.     of sequencers and drum machines from a "master" unit which
  462.     sends the messages down the line when its buttons are pushed.
  463.  
  464.     I can't tell you much about the trials and tribulations of drum
  465.     machines.  Other folks can, I am sure.
  466. <<
  467.  
  468. The active sensing byte is to be sent every 300 ms. or more often,
  469. if it is used.  Its purpose is to implement a timeout mechanism
  470. for a receiver to revert to a default state.  A receiver is to
  471. operate normally if it never gets one of these, activating the
  472. timeout mechanism from the receipt of the first one.
  473.  
  474. >>
  475.     My impression is that active sensing is largely unused.
  476. <<
  477.  
  478. The system reset initializes to power up conditions.  The spec. says
  479. that it should be used "sparingly" and in particular not sent
  480. automatically on power up.
  481.  
  482. AND NOW, CLIMBING TO THE PULPIT ....
  483.  
  484. >> - from here on out.
  485.  
  486. There are many deficiencies with MIDI, but it IS a standard.  As such,
  487. it will have to be grappled with.
  488.  
  489. The electrical specification leaves me with only one question - WHY?
  490. What was wanted was a serial interface, and a perfectly good RS232
  491. specification was to be had.  WHY wasn't it used?  The baud rate is
  492. too fast to simply convert into something you can feed directly to
  493. your serial port via fairly dumb hardware, also.  The "standard"
  494. baud rate step you would have to use would be 38.4 Kbaud which very
  495. few hardware interfaces accept.  The other alternative is to buffer
  496. messages and send them out a slower baud rate - in fact buffering
  497. of characters by some kind of I/O processor is very helpful.  Hence
  498. units like the MPU-401, which does a lot of other stuff, too of course.
  499.  
  500. The fast baud rate with MIDI was set for two reasons I believe:
  501.  
  502.     1) to allow daisy-chaining of a few devices with no noticeable
  503.            end to end lag.
  504.  
  505.     2) to allow chords to be played by just sending all the notes down
  506.        the pipe, the baud rate being fast enough that they will
  507.        sound simultaneous.
  508.  
  509. It doesn't exactly work - I've heard gripes concerning end to end lag
  510. on three instrument chains.  And consider chords - at two bytes (running
  511. status byte being used) per note, there will be a ten character lag
  512. between the trailing edges of the first and last notes of a six note
  513. chord.  That's 3.2 ms., assuming no "dead air" between characters.  It's
  514. still pretty fast, but on large chords with voices possessing distinctive
  515. attack characteristics, you may hear separate note beginnings.
  516.  
  517. I think MIDI could have used some means of packetizing chords, or having
  518. transaction markers.  If a "chord" message were specified, you could
  519. easily
  520. break even on byte count with a few notes, given that we assume all notes
  521. of a chord at the same velocity.  Transaction markers might be useful in
  522. any case, although I don't know if it would be worth taking over the
  523. remaining system message space for them.  I would say yes.  I would
  524. see having "start" and "end" transaction bytes.  On receipt of a "start"
  525. a receiver buffers up but does not act on messages until receipt of the
  526. "end" byte.  You could then do chords by sending the notes ahead of time,
  527. and precisely timing the "end" marker.  Of course, the job of the hardware
  528. in the receiver has been complicated considerably.
  529.  
  530. The protocol is VERY keyboard oriented - take a look at the use of TWO
  531. of the opcodes in the limited opcode space for "pressure" messages,
  532. and the inability to specify semitones or glissando effects except
  533. through the pitch wheel (which took up yet ANOTHER of the opcodes).
  534. All keyboards I know of modify ALL playing notes when they receive
  535. pitch wheel data.  Also, you have to use a continuous stream of
  536. pitch wheel messages to effect a slide, the pitch wheel step isn't
  537. standardized, and on a slide of a large number of tones you will
  538. overrun the range of the wheel.
  539.  
  540. ?    Some of these problems would be addressed by a device which allowed
  541.     its pitch wheel to have selective control - say modifying only
  542.     the notes playing on the channel the pitch wheel message is
  543.     received in, for instance.  The thing for a guitar synthesizer
  544.     to do, then, would be to use mode 4, one channel per string, and
  545.     bends would only affect the one note.  You could play a chord
  546.     on a voice with a lot of release, then bend a note and not have
  547.     the entire still sounding chord bend.  Any such devices?
  548.  
  549. I think some of the deficiencies in MIDI might be addressed by
  550. different communities of interest developing a standard set of
  551. system exclusives which answer the problem.  One perfect area
  552. for this, I think, is a standard set for representation of "non-
  553. keyboard / drum machine" instruments which have continuous pitch
  554. capabilities.  Like a pedal steel, for instance.  Or non-western
  555. intervals.  Like a sitar.
  556.  
  557. There is a crying need to do SOMETHING about the "loopback" problem.
  558. I would even vote for usurping a few more bytes in the mode messages
  559. to allow you to TURN OFF input echo by the receiver.  With the
  560. local control message, you could then at least deal with something
  561. that would act precisely like a half or full duplex terminal.
  562. Several patchwork solutions exist to this problem, but there OUGHT
  563. to be a standard way of doing it within the protocol.  Another
  564. thought is to allow data bytes of other than 0 or 127 to control
  565. echo on the existing local control message.
  566.  
  567. The lack of acknowledgement is a problem.  Another candidate for a
  568. standard system exclusive set would be a series of messages for
  569. mode setting with acknowledgement.  This set could then also
  570. take care of the loopback problem.
  571.  
  572. The complete lack of ability to specify standardized waveforms is
  573. probably another source of intense disappointment to many readers.
  574. Trouble is, the standard lingo used by the synthesizer industry and
  575. most working musicians is something which hails back to the first
  576. days of synthesizer design, deals with envelope generators and
  577. filters and VCO / LFO hardware parameters, and is very damn difficult
  578. to relate to Fourier series expressing the harmonic content or any other
  579. abstractions some people interested in doing computer composition
  580. would like.  The parameter set used by the average synthesizer
  581. manufacturer isn't anyplace close to orthogonal in any sense, and is bound 
  582. to vary wildly in comparison to anybody elses.  There are essentially no
  583. abstractions made by most of the industry from underlying hardware
  584. parameters.  What standardization exists reflects only the similarity
  585. in hardware.  This is one quagmire that we have a long way to go to
  586. get out of, I think.  It might be possible, eventually, to come up
  587. with translation tables describing the best way to approximate a
  588. desired sound on a given device in terms of its parameter set, but
  589. the difficulties are enormous.  MIDI has chosen to punt on this one, folks.
  590.  
  591. Well, that's about it.  Good luck with talking to your synthesizer.
  592.  
  593. Bob McQueer
  594. 22 Bcy, 3151
  595.  
  596. All rites reversed.  Reprint what you like.
  597.  
  598.  
  599.